import React from 'react'

// 仓库
import store from '../store'
import { Provider } from 'react-redux'

// 路由
import {BrowserRouter} from 'react-router-dom'
import routers from '../router/router.config'
import RouterViews from '../router/router.view'

import './App.css'

function App(){

    return <Provider store={store}>
        <BrowserRouter>
            <RouterViews routers={routers}/>
        </BrowserRouter>
    </Provider>
}

export default App
